package com.lyl.lawyer.service;

import com.cn.lyl.lawyer.model.entity.LawyerRoleModel;
import com.cn.lyl.lawyer.model.vo.LawyerRoleVo;

import java.util.List;

public interface LawyerService {
    void add(LawyerRoleVo lawyerRoleVo);

    List<LawyerRoleVo> findAll(LawyerRoleVo lawyerRoleVo);

    List<LawyerRoleVo> findIsHome(LawyerRoleVo lawyerRoleVo);

    int getCount(LawyerRoleVo lawyerRoleVo);

    void delete(Integer id);

    LawyerRoleVo findById(Integer id);

    void change(LawyerRoleVo lawyerRoleVo);

    void changeHomeState(Integer id);

    List<LawyerRoleModel> findAllRole();
}
